package com.wyz.entity;

import my.mvc.IUser;

public class User implements IUser{
	private Long id;
	private String password;
	private String email;
	private String phoneNumber;
	private String userName;
	private int flag=0;
	private String sex;
	/**
	 * get set方法1
	 * */
	
	public void setId(Long id) {
		this.id = id;
	}
	
	
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public User() {
		this.id=1L;
		this.password="123456";
		this.email="123456789@123.com";
		this.phoneNumber="123456789";
		this.userName="zjc";
	}
	@Override
	public boolean IsLocked() {
		// TODO Auto-generated method stub
		return false;
	}
	@Override
	public Long getId() {
		// TODO Auto-generated method stub
		return id;
	}
	@Override
	public String getPassword() {
		// TODO Auto-generated method stub
		return password;
	}


	public int getFlag() {
		return flag;
	}


	public void setFlag(int flag) {
		this.flag = flag;
	}


	public String getSex() {
		return sex;
	}


	public void setSex(String sex) {
		this.sex = sex;
	}
	
}
